package com.jinxin.platform.cdfaceacs.controller;

import com.jinxin.platform.base.common.pojo.JsonResult;
import com.jinxin.platform.cdfaceacs.service.CdattendancerecordReportService;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Date: 2021-04-23
 * Author: yangjie
 * desc:
 **/
@Api(tags = "原始上报数据接口")
@RestController
@RequestMapping(value = "/attendanceRecord/reportData")
public class ReportDataController {
    @Resource
    CdattendancerecordReportService reportService;

    @GetMapping(value = "/getAll")
    public JsonResult queryAll() {
        return JsonResult.ok(reportService.queryAll(null));
    }
}
